export const formOption = {
  submitBtn: false,
  emptyBtn: false,
  column: [{
    label: '订单编号',
    prop: 'a',
    readonly: true
  }, {
    label: '类型',
    prop: 'b',
    readonly: true
  }, {
    label: '消费金额',
    prop: 'c',
    readonly: true
  }, {
    label: '运费',
    prop: 'd',
    readonly: true
  }, {
    label: '支付方式',
    prop: 'e',
    readonly: true
  }, {
    label: '订单状态',
    prop: 'f',
    readonly: true
  }, {
    label: '下单时间',
    prop: 'g',
    readonly: true
  }, {
    label: '受理时间',
    prop: 'h',
    readonly: true
  }, {
    label: '撤单时间',
    prop: 'i',
    readonly: true
  }, {
    label: '配送方式',
    prop: 'j',
    readonly: true
  }, {
    label: '发货人',
    prop: 'k',
    readonly: true
  }, {
    label: '发货信息',
    prop: 'l',
    readonly: true
  }, {
    label: '备注',
    prop: 'm',
    readonly: true
  }, {
    label: '订单操作',
    prop: 'n',
    readonly: true
  }]
}

export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  searchMenuSpan: 5,
  editBtn: false,
  delBtn: false,
  addBtn: false,
  viewBtn: false,
  refreshBtn:false,
  columnBtn:false,
  labelWidth: 120,
  menu: false,
  showSummary: true,
  sumColumnList: [{
    label: '供货款合计:',
    name: 'sum',
    type: 'sum',
    decimals: 1
  }],
  column: [{
      label: '商品编号',
      prop: 'a',
      span: 24,
    }, {
      label: '商品名称',
      prop: 'b',
      span: 24,
    }, {
      label: '购买数量',
      prop: 'c',
      span: 24,
    }, {
      label: '出售价',
      prop: 'd',
      span: 24,
    },
    {
      label: '供货价',
      prop: 'e',
      span: 24,
    }, {
      label: '供货价合计',
      prop: 'f',
      span: 24,
    }, {
      label: '积分价',
      prop: 'g',
      span: 24,
    }, {
      label: '备注',
      prop: 'h',
      span: 24,
    },
  ]
}
